package cn.com.bluemoon.daps.sync.core.sync.sql;

import cn.com.bluemoon.daps.model.entity.DapDataModelTable;
import cn.com.bluemoon.daps.model.entity.DapDataModelTablePartition;
import cn.com.bluemoon.daps.sync.base.BmScript;

/**
 * @author Jarod Kong
 * @date 2021-01-15 23:58
 **/
public interface IPartitionSql {

    default BmScript createPartition(DapDataModelTable newT, DapDataModelTablePartition newP) {
        return null;
    }

    default BmScript dropPartition(DapDataModelTable oldT, DapDataModelTablePartition oldP) {
        return null;
    }

    default BmScript changePartition(DapDataModelTable newT, DapDataModelTablePartition oldP, DapDataModelTablePartition newP) {
        return null;
    }
}
